<template>
	<div>
		App
		{{ count }}
		<AComp @add="count++" />
	</div>
</template>

<script>
import AComp from "./AComp.vue";

export default {
	name: "App",
	components: {
		AComp,
	},
	data() {
		return {
			count: 0,
		};
	},
};
</script>

<style></style>
